import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import search from './modules/search'
import apply from './modules/apply'
import text from './modules/text'
import tarbar from './modules/tarbar'
import nav from './modules/nav'
import imgs from './modules/imgs'
import btn from './modules/btn'
import myswiper from './modules/swiper'
import notice from "./modules/notice"
import video from "./modules/video"
import free from "./modules/free"
import list from "./modules/list"
import advert from "./modules/diymodule/advert"
import backStyle from "./modules/diymodule/backStyle"
import activity from "./modules/diymodule/activity"
import shopMarket from "./modules/diymodule/shop/shopmarket"
import merket from "./modules/diymodule/merket"
import Rubiks from "./modules/diymodule/Rubiks"

Vue.use(Vuex)
const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    search,
    apply,
    text,
    tarbar,
    nav,
    imgs,
    btn,
    myswiper,
    notice,
    video,
    free,
    list,
    advert,
    backStyle,
    activity,
    shopMarket,
    merket,
    Rubiks
  },
  getters
})
export default store
